package com.gyp.dto.pay;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

@Data
@ApiModel("微信通知")
public class WxNotifyDTO {


    private String id;

    @JsonProperty("create_time")
    private String createTime;

    @JsonProperty("event_type")
    private String eventType;

    private String summary;

    private Resource resource;

    @Data
    public static class Resource {

        @JsonProperty("original_type")
        private String originalType;

        private String algorithm;

        private String ciphertext;

        @JsonProperty("associated_data")
        private String associatedData;

        private String nonce;

    }




}
